﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using gds_classes;

namespace test
{
    class Program
    {
        static void Main(string[] args)
        {
            //for (int i = 1; i < 787; i++)
            //{
            //    Console.WriteLine("Pow by mod:{1} {0} ", MathMethods.PowByMod(256, i, 31481),i);
            //}

            Console.WriteLine("Pow by mod: {0} ", MathMethods.PowByMod(25, 8, 67) % 11);
            Console.ReadLine();
        }
    }
}
